import React from 'react';

/**
 * desc: 公共表格组件，方便后期进行样式统一更改 
 * @sku {string} sku
 * @spu {string} spu
 * @spu {string} storeName
 * @spu {string} width
 */

export default ({ sku = '', spu = '', storeName = '', width = '100%', orderChannel = '' }) => {

  const getStoreName = () => {
    return storeName ? '【' + storeName + '】' : ''
  }

  return (
    <>
      <div className='textOverflowMultiTwo'>
        {getStoreName() + sku}
      </div>
      <div className='textOverflowMultiOne'>
        {spu}
      </div>
    </>
  )
}
